package com.program.facesigninsystem.iteration.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author GA
 * @since 2021-12-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("signintemplate")
@ApiModel(value="SignintemplateEntity对象", description="")
public class TemplateInfoAmend implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "签到标题")
    private String title;

    @ApiModelProperty(value = "签到类型")
    private String actType;

    @ApiModelProperty(value = "签到终止方式：0代表倒计时签到，1代表手动开闭")
    private Integer signStopType;

    @ApiModelProperty(value = "签到说明")
    private String caption;

    @ApiModelProperty(value = "名单ID")
    private String cid;

    @ApiModelProperty(value = "模板拥有者")
    private String tid;

    @ApiModelProperty(value = "使用此模板创建签到次数")
    private Integer useNum;

    @ApiModelProperty(value = "1：上课签到 2：下课签到（若有两个值，以逗号隔开）")
    private String linkType;

    @ApiModelProperty(value = "次数（若有两个值，以逗号隔开，且与linktype一一对应）")
    private String times;

    @ApiModelProperty(value = "持续时间（若有两个值，以逗号隔开，且与linktype一一对应）")
    private String duration;

    @ApiModelProperty(value = "是否开启定位 1：开启 0不开启（若有两个值，以逗号隔开，且与linktype一一对应）")
    private String whetherLocation;

    @ApiModelProperty(value = "定位范围")
    private Double rangement;

}
